SERVER=server 
CLIENT=client 
CC=g++
SERVER_SRC=Server.cc 
CLIENT_SRC=Client.cc

.PHONY:all
all:$(SERVER) $(CLIENT)

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^
$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^

.PHONY:clean
clean:
	rm -f $(SERVER) $(CLIENT)